namespace ASPNET.StarterKit.IssueTracker.BusinessLogicLayer
{
    using System;
    using System.Data;

    public class QueryClause
    {
        private string _booleanOperator;
        private string _comparisonOperator;
        private SqlDbType _dataType;
        private string _fieldName;
        private string _fieldValue;

        public QueryClause(string booleanOperator, string fieldName, string comparisonOperator, string fieldValue, SqlDbType dataType)
        {
            this._booleanOperator = booleanOperator;
            this._fieldName = fieldName;
            this._comparisonOperator = comparisonOperator;
            this._fieldValue = fieldValue;
            this._dataType = dataType;
        }

        public string BooleanOperator
        {
            get
            {
                return this._booleanOperator;
            }
        }

        public string ComparisonOperator
        {
            get
            {
                return this._comparisonOperator;
            }
        }

        public SqlDbType DataType
        {
            get
            {
                return this._dataType;
            }
        }

        public string FieldName
        {
            get
            {
                return this._fieldName;
            }
        }

        public string FieldValue
        {
            get
            {
                return this._fieldValue;
            }
        }
    }
}

